Public Member Functions | |
| TMCUndoStack () | |
| TMCUndoStack (int32 maxSize) | |
| T * | Do () |
| T * | DoMore () |
| T * | Undo () |
| T * | Redo () |
| void | SetMaxSize (int32 maxSize) |
| uint32 | GetElemCount () const |
Protected Attributes | |
| int32 | fMaxSize |
| int32 | fCurrent |
| int32 | fLast |
| TMCPtrArray< T > | fArrayData |
|
|||||||||
|
Prepare a new TMCUndoStack. maxSize is fixed to 16 elem |
|
||||||||||
|
Prepare a new TMCUndoStack
|
|
|||||||||
|
Creates and adds a new param T to the stack and returns a pointer to it |
|
|||||||||
|
Return a pointer to the current state to allow modification on it |
|
|||||||||
|
Gets the number of elements allocated. |
|
|||||||||
|
Access to the data of the next state.
|
|
||||||||||
|
Sets the maximum number of element in the undo stack |
|
|||||||||
|
Access to the data of the previous state.
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
1.4.5